 /* 响应式设计样式 */

/* 移动端适配 */
@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        margin: 1% auto;
        padding: 20px;
        max-width: 95%;
    }
    
    .status-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 10px;
    }
    
    .header {
        padding: 20px;
    }
    
    .header h1 {
        font-size: 2em;
    }
    
    .card {
        padding: 20px;
    }
    
    .nav-tabs {
        flex-wrap: wrap;
    }
    
    .nav-tab {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .rule-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .rule-actions {
        align-self: stretch;
        justify-content: flex-end;
    }
    
    .filter-row {
        grid-template-columns: 1fr;
    }
    
    .log-header {
        grid-template-columns: 100px 60px 1fr;
        gap: 10px;
        font-size: 12px;
    }
    
    .log-entry {
        grid-template-columns: 100px 60px 1fr;
        gap: 10px;
        font-size: 12px;
    }
}

/* 平板端适配 */
@media (min-width: 601px) and (max-width: 1024px) {
    .container {
        padding: 15px;
    }
    
    .status-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .modal-content {
        max-width: 80%;
    }
}

/* 大屏幕优化 */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    
    .status-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}